home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Applications / Eudora 1.3.1 / source / Include / fileutil.h < prev    next >
Encoding:
Text File  |  1993-03-16  |  2.1 KB  |  35 lines  |  [TEXT/MPS ]

  1. /* Copyright (c) 1990-1992 by the University of Illinois Board of Trustees */
  2. short GetMyVR(UPtr name);
  3. long GetMyDirID(short refNum);
  4. short GetDirName(UPtr volName,short vRef, long dirId,UPtr name);
  5. UPtr GetMyVolName(short refNum,UPtr name);
  6. int BlessedDirID(long *sysDirIDPtr);
  7. int MakeResFile(UPtr name,int vRef,long dirId,long creator,long type);
  8. short DirIterate(short vRef,long dirId,HFileInfo *hfi);
  9. int CopyFBytes(short fromRefN,long fromOffset,long length,short toRefN,long toOffset);
  10. Boolean MySFGetFile(ProcPtr filter, long *dirIdPtr, short *vRefPtr, UPtr namePtr,short typeCount,SFTypeList tl);
  11. void StdFileSpot(Point *where, short id);
  12. short RFHOpen(UPtr name,short vRefN,long dirId,short *refN,short perm);
  13. int MyAllocate(short refN,long size);
  14. short SFPutOpen(UPtr name,short *vRef,long creator,long type,short *refN,ProcPtr filter,short id);
  15. Boolean IsText(UPtr volName,long dirId,UPtr name);
  16. short MyOpenResFile(short vRef,long dirId,UPtr name);
  17. short SpinOn(short *rtnCodeAddr,long maxTicks);
  18. #define FSZWrite(refN,count,buf) (((*count)>0) ? FSWrite(refN,count,buf):0)
  19. Boolean IsItAFolder(short vRef,long inDirId,UPtr name);
  20. short FolderFileCount(long inDirId,UPtr name);
  21. short FSHOpen(UPtr name,short vRefN,long dirId,short *refN,short perm);
  22. short GetMyWD(short vRef,long dirID);
  23. short HMove(short vRef,long fromDirId,UPtr fromName,long toDirId,UPtr toName);
  24. short HGetFileInfo(short vRef,long dirId,UPtr name,HFileInfo *hfi);
  25. short HSetFileInfo(short vRef,long dirId,UPtr name,HFileInfo *hfi);
  26. Boolean GetFolder(char *name,short *volume,long *folder,Boolean writeable,Boolean system,Boolean floppy,Boolean desktop);
  27. short CopyRFork(short vRef,long dirId,UPtr name,short fromVRef,
  28.                                 short fromDirId,Uptr fromName);
  29. short CopyFInfo(short vRef,long dirId,UPtr name,short fromVRef,
  30.                                 short fromDirId,Uptr fromName);
  31. short MyResolveAlias(short *vRef,long *dirId,UPtr name,Boolean *wasAlias);
  32. short FSWriteP(short refN,UPtr pString);
  33. short GetFileByRef(short refN,short *vRef,long *dirId,UPtr name);
  34. long VolumeFree(short vRef);
  35. short FSTabWrite(short refN,long *count,UPtr buf);